06 Magnet Sensor
Module Introduction

- Jacdac Interface
- Jacdac Communication Indicator
- Hall Sensor
- Jacdac Standard Through Hole
- Product QR Code
Components used
- 1x MicroUSB Cable
- 1x MicrobitV2
- 1x Jacdaptor
- 1x Cable
- 1x Magnet Sensor
Connection
PC-〉MicroUSB -〉MicrobitV2-〉Jacdaptor-〉Cable-〉MagnetSensor

Coding Platform
https://makecode.microbit.org/
Create a new project

Establish a connection

Extensions——Jacdac

Add Jacdac MagnetSensor Block

Program and download

After downloading, you need to press the A button to start

The Result
When there is no magnet:

When the magnet is close:
